<template>
    <div>
      <div>
        有关某个命令的详细信息，请键入 help 命令名, 如：help ping
      </div>
      <div v-for="(command, index) in commandList" :key="index">
        <el-row :gutter="20">
          <el-col :span="4">{{ command.func }}</el-col>
          <el-col :span="20">{{ command.desc }}</el-col>
        </el-row>
      </div>
    </div>
  </template>
  
<script setup lang="ts">
import { commandList } from '../commandRegister';

</script>

<style scoped lang="scss">
div {
    margin: 3px 0;
}
</style>
  